package top.huhuiyu.springboot3.p2301.entity.api;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_data_news")
public class TbDataNews implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String typename;
    private String newsId;
    private String title;
    private String imgList;
    private String source;
    private String digest;
    private String postTime;
    private String content;

    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private Date created;

}
